package com.cyz.web.app.function.lambda;

import java.util.function.Predicate;

public class Demo02 {

    public static void main(String[] args) {
        Predicate<Integer>  atLeast5 = x->x>5;
        boolean test = atLeast5.test(6);
        System.out.println(test);
    }

}
